// 'use client'
import React from "react";
import Link from "next/link";
import Image from "next/image";
import { useParams ,useSearchParams} from  'next/navigation'
async function ListDetailPage(params:any,searchParams:any) {

console.log('params', params)
//  const {id} = useParams()
//  const {name} = useSearchParams()
  return (
    <div className="  list-page">
    <h1> 详情页1</h1>

     <h1>  id: {params.params.id}</h1>
     <h1> name: {params.searchParams.name}</h1>

    </div>
  );
}

export default ListDetailPage;
